package com.example.user.entity.vo;

import com.example.common.entity.sys.SysDept;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author cc
 * @classname RoleVo
 * @description TODO
 * @date 2022/8/12 10:32
 */
@Data
public class RoleVo {
    @ApiModelProperty(value = "角色ID")
    private Long roleId;
    @ApiModelProperty(value = "角色名称")
    private String roleName;
    @ApiModelProperty(value = "角色权限字符串")
    private String roleKey;
    @ApiModelProperty(value = "显示顺序")
    private Integer roleSort;
    @ApiModelProperty(value = "角色状态（0正常 1停用）")
    private String status;
    @ApiModelProperty(value = "删除标志（0正常 1删除）")
    private String delFlag;
    @ApiModelProperty(value = "创建者")
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新者")
    private String updateBy;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "备注")
    private String remark;

    private List<SysDept> depts;
}
